package com.akiokevin.plantyourlife.activity;

import com.akiokevin.plantyourlife.R;

import android.app.Activity;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;
import android.widget.Toast;

public class AddScheduleActivity extends Activity {
	
	private Button cancelButton;
	private Button submitButton;
	private EditText contentBox;
	
	public void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.addschedule);
		
		//obtain references to the objects
		
		submitButton = (Button)findViewById(R.id.button_add);
		cancelButton = (Button)findViewById(R.id.button_cancel);
		contentBox = (EditText)findViewById(R.id.text_content);
		
		cancelButton.setOnClickListener(new View.OnClickListener() {
        	@Override
        	public void onClick(View v) {
        		//Toast.makeText(getApplicationContext(), "TEST", Toast.LENGTH_SHORT).show();
        		finish();
			}
        });
		
	}
}
